package com.deman.framework.rpc.core;

import com.deman.framework.rpc.model.MessageRequest;
import com.deman.framework.rpc.model.MessageResponse;

import java.lang.reflect.InvocationTargetException;

public interface Invoker {

    public MessageResponse invoke(MessageRequest messageRequest) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException;

}
